Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
updateTableViaSDO
This procedure updates the database through the relevant SDO.
Location: af\app\afgenmngrp.i Parameters:INPUT pcSdoName AS CHARACTERThe filename of the SDO used in the update.
INPUT pcSdoDescription AS CHARACTERThe description of the SDO.
INPUT pcExtraProperties AS CHARACTERA
CHR(3)-delimited string of additional properties to set in the SDO (see Notes).INPUT pcUserProperties AS CHARACTERA
CHR(3)-delimited string of additional user properties to set in the SDO (see Notes).INPUT-OUTPUT TABLE-HANDLE phRowObjUpdThe
Returns: See Notes Notes:rowObjUpdtable containing records for update.
- Because this procedure always attempts to run the SDO on the ICF AppServer, no distinction is made between the client and server when running this procedure. If the calling procedure is already running on the server, the value of the
gshAstraAppserverhandle is that of theSESSIONto avoid problems.- This procedure starts the SDO, updates the database, and destroys the SDO after any updates. Any errors are reported back to the calling procedure using the
RETURN-VALUE.- The
ERROR-STATUSerror condition is raised; you should not run this procedure with theNO-ERRORoption.- The table handle is returned to the calling procedure in case there are further actions to be performed on it, or post-update data is required. For example, a status that is determined in the SDO.
Examples: See the- The extra properties string is a
CHR(3)-delimited label, value string. These properties are set in the SDO after initialization.deletePreTransValidateprocedure inry\obj\rycoilog3p.p.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |